#include<iostream>

#define INSERT
//#undef INSERT
#define SELECT
//#undef SELECT

using namespace std;

int main()
{
	cout<<"SET INDEX DEBUG ON;\n";

#ifdef INSERT
	cout<<"CREATE TABLE T6(A,B,C,D,E,F);\n";
	cout<<"CREATE INDEX I6 ON T6(A) [NO DUPLICATES];\n";
	for (int i=1;i<1000;i++)
		cout<<"INSERT INTO T6 VALUES("<<i<<",2,3,4,5,6);\n";
#endif

#ifdef SELECT
	for (int i=1;i<1000;i++)
		cout<<"SELECT * FROM T6 WHERE A="<<i<<";\n";
#endif

	cout<<"QUIT;\n";
	return 0;
}
